//
//  VerticalStack.swift
//  iAppStore
//
//  Created by shen on 2022/12/22.
//

import UIKit

class VerticalStack: UIStackView {
    init(arrangedSubviews: [UIView], spacing: CGFloat) {
        super.init(frame: .zero)
        arrangedSubviews.forEach { addArrangedSubview($0) }
        self.spacing = spacing
        self.axis = .vertical
    }

    @available(*, unavailable)
    required init(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
